package com.techsoul.module.system.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * 行政区域 保存参数
 * 
 * @author liuen
 * @date 2020-12-28
 */
@Data
@Accessors(chain = true)
public class RegionSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("PID，父级编号")
    private String pid;

    @ApiModelProperty("祖级ID集合（多个用逗号隔开）")
    private String ancestorIds;

    @ApiModelProperty("祖级名称集合（多个用逗号隔开）")
    private String ancestorNames;

    @ApiModelProperty("行政区域名称")
    private String regionName;

    @ApiModelProperty("行政区域全称")
    private String regionFullName;

    @ApiModelProperty("行政区域类型")
    private String regionType;

    @ApiModelProperty("层级")
    private Integer treeLevel;

    @ApiModelProperty("是否叶子节点  0：否   1：是")
    private Integer isLeaf;

    @ApiModelProperty("排序")
    private Integer treeSort;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
